package main.java.com.manger.constant;

/**
 * Created by LCJ on 2017/6/14.
 */
public class Constant {

    public final static Integer USER_ADMIN=0;
    public final static Integer USER_STUDENT=1;

    public final static String USER_EXIST="用户已经存在";
    public final static String OPERATEION_FAILURE="操作失败";
    public final static String OPERATEION_SUCCESS="操作成功";
    public final static String LOGIN_FAILURE="登录失败";
    public final static String STUDENT_NULL="没有该学生信息";


    public final static String PAGE_ERROR="admin/error";
    public final static String PAGE_SUCCESS="admin/success";
    public final static String PAGE_FAILURE="admin/failure";
    public final static String PAGE_ADMIN="admin/admin";
    public final static String PAGE_STUDENT_UPDATE="admin/updateStudent";
    public final static String PAGE_STUDENT_LIST="admin/studentList";
    public final static String PAGE_STUDENT_ADD="admin/addStudent";
    public final static String PAGE_STUDENT_DETILS="admin/studentDetials";


    public final static String ATTR_MSG="msg";
    public final static String ATTR_DETIALS="detial";
    public final static String ATTR_STUDENT="student";
    public final static String ATTR_FAILURE="failure";



    public final static String STUDENT_COMMON_URL="/students";
    public final static String STUDENT_ADD_URL="/students/add";
    public final static String STUDENT_UPDATE_URL="/students/update";
    public final static String STUDENT_FIND_URL="/students/{id}";
    public final static String STUDENT_DELETE_URL="/students/{id}/delete";






}
